DFPY-68: Validate Python 3.13 optional profiles#147
Open
sidmohan0 wants to merge 8 commits into
Open
Conversation
Refs DFPY-71
Refs DFPY-74
Refs DFPY-75
Refs DFPY-72
Refs DFPY-73
Refs DFPY-76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nlp,nlp-advanced, andocroptional profiles based on local install/profile validation.nlpandnlp-advancedtest matrix rows.nlp,nlp-advanced, andocr.nlp,nlp-advanced, andocrsupported; Donut requires a local model;distributedandallare not newly certified in 4.5.Local Python 3.13 validation
nlp: installed.[test,cli,nlp];DATAFOG_INSTALL_PROFILE=nlp ... pytest tests/test_install_profiles.py -qpassed; spaCy 3.8.14 imported.nlp-advanced: installed.[test,cli,nlp,nlp-advanced]; profile smoke passed; GLiNER 0.2.26, torch 2.6.0, transformers 5.1.0 imported.ocr: installed.[test,ocr]; profile smoke passed; Pillow 12.2.0, pytesseract 0.3.13, numpy 2.4.6 imported; system Tesseract 5.5.2 was available.nlp-advanced,ocr: Donut dependencies imported on Python 3.13; runtime correctly reported that the configured Donut model must be available locally.Verification
actionlint .github/workflows/ci.yml.venv312/bin/pre-commit run --files .github/workflows/ci.yml README.md docs/contributing.rst docs/optional-surfaces.rst tests/test_install_profiles.py --show-diff-on-failureDATAFOG_NO_TELEMETRY=1 DO_NOT_TRACK=1 .venv312/bin/python -m sphinx -b html docs docs/_build/htmlgit diff --checkDATAFOG_NO_TELEMETRY=1 DO_NOT_TRACK=1 DATAFOG_INSTALL_PROFILE=ocr DATAFOG_REQUIRE_TESSERACT=1 .venv313-ocr/bin/python -m pytest tests/test_install_profiles.py -qRefs DFPY-68.